<?php
namespace app\agent\logic;

use app\common\model\StatisticsBankModel;

class StatisticsBankLogic extends StatisticsBankModel
{


    /**
     * 获取所有商家银行卡收益
     * @param $uids
     * @return float
     */
    public function getSellersBank($uids)
    {
        $where =[
            ['uid', 'IN', $uids],
        ];

        return $this->where($where)->sum('pzong');
    }

}